<?php
/*
 * Created on 11.03.2008
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
 
 class Controller_Player extends Controller_Base {
 	 	
 	function index($args) {
		$template = new Template('playlist.tmpl');
		
		$mp3 = new Model_Mp3();

		$template->setArgs(
			array(
				'filelist'		=> $mp3->get(),
			)
		);

		return array (
			status		=> 0,
			template	=> $template
		);	 		
 	}
 }